package com.zb.mapper;
import com.zb.entity.Shipments;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

@Mapper
public interface ShipmentsMapper {

	public Shipments getShipmentsById(@Param(value = "id") Long id)throws Exception;

	public List<Shipments>	getShipmentsListByMap(Map<String,Object> param)throws Exception;

	public Integer getShipmentsCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertShipments(Shipments shipments)throws Exception;

	public Integer updateShipments(Shipments shipments)throws Exception;

	public Integer deleteShipmentsById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteShipments(Map<String,List<String>> params);

}
